﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04_Graph
{
   class Node
   {
      public int m_in;  // 入度
      public int m_out; // 出度
      public int value; // 值
      public List<Node> nexts;   // 邻接点集
      public List<Edge> edges;   // 邻接边集

      public Node(int value)
      {
         this.value = value;
         m_in = 0;
         m_out = 0;
         nexts = new List<Node>();
         edges = new List<Edge>();
      }
   }
}
